Revert "console: simplify puts()"
authorSoeren Moch <[email protected]>
Sat, 4 Nov 2017 15:14:09 +0000 (16:14 +0100)
committerTom Rini <[email protected]>
Sun, 12 Nov 2017 21:18:16 +0000 (16:18 -0500)
commitbe135cc5eb4499f5eedd1b6d968ca51aa79df684
tree4802fd183eb6740636b96d39a355e2213e812417
parentae147ab4a8bfabddcd7f83d893996a88c0ca1151
Revert "console: simplify puts()"

This reverts commit c61d0009feb966e0e93254a8c435a1889085e6b8.

A tbs2910 board user reported a very slow console frambuffer as
regression in current u-boot. I could bisect this down to the
above mentioned commit.

This revert brings back the fast framebuffer console (one
cache flush per string in puts(), not after each char).

Reported-by: Uwe Scheffler <[email protected]>
Signed-off-by: Soeren Moch <[email protected]>
Tested-by: Uwe Scheffler <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/console.c